
import lodash from 'lodash'
export default ({ oldforms, form, formId }: any) => {
    const has = lodash.has(oldforms, formId)
    if (has) {
        return lodash.omit(oldforms, formId)
    }
    return oldforms
}